package com.fruit.pojo.rights;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;


public class UserGoodsRights implements Serializable{
	private static final long serialVersionUID = 2969934824019476369L;

	private int id;
	//实际产品ID
	private int classId;
	//产品编码
	private String areaGoodsInfoIds;
	//所属用户ID
	private int userId;
	//预计产量
	private BigDecimal expectHarvest;
	//预计收获时间，格式：YYYY-MM-dd HH:mm:ss
	private String expectHarvestTime;
	//预计产量(多条 逗号隔开)
	private String expectHarvests;
	//预计收获时间，格式：YYYY-MM-dd HH:mm:ss(多条 逗号隔开)
	private String expectHarvestTimes;
	//商品规格期次ID（多条）
	private String userGoodsRightsIds;
	//商品规格期次ID
	private int userGoodsRightsId;
	//产品期次
	private String time;
	//预计产量单位
	private String unit;
	//预计产量单位描述
	private String unitDesc;
	//购买时间
	private String buyTime;
	//收果批次
	private int fruitPeriod;
	//收获单位
	private String harvestUnit;
	//收获单位描述
	private String harvestUnitDesc;
	//权益周期
	private String equityCycle;
	//截止使用日期，格式：YYYY-MM-dd HH:mm:ss
	private String endUseTime;
	//创建时间，格式：YYYY-MM-dd HH:mm:ss
	private String createTime;
	//格式：YYYY-MM-dd HH:mm:ss
	private String updateTime;
	//操作员ID
	private String operatorId;
	//订单号
	private Long orderGoodsId;
	//基地ID
	private int baseId;
	//基地名称
	private String baseName;
	//商品规格期次
	private int goodsSpecTimeId;
	//商品名
	private String goodsName;
	//商品缩略图片
    private String thumb;
    //商品白天图片
    private String thumbDay;
    //商品黑夜图片
    private String thumbNight;
	//种植日期，格式：YYYY-MM-dd HH:mm:ss
	private String birthday;
	//数量
	private int num;
	//距离下次收货天数
	private int day;
	//累计收货总量
	private int total;
	//预计收货总量
	private int sumtotal;
	//是否过期 00过期 01不过期
	private String state;
	
	private String treeAge;
	
	private List<UserGoodsRightsHarvest> userGoodsRightsHarvests;
	
	public long getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getClassId() {
		return classId;
	}
	public void setClassId(int classId) {
		this.classId = classId;
	}
	public String getAreaGoodsInfoIds() {
		return areaGoodsInfoIds;
	}
	public void setAreaGoodsInfoIds(String areaGoodsInfoIds) {
		this.areaGoodsInfoIds = areaGoodsInfoIds;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public BigDecimal getExpectHarvest() {
		return expectHarvest;
	}
	public void setExpectHarvest(BigDecimal expectHarvest) {
		this.expectHarvest = expectHarvest;
	}
	public String getExpectHarvestTime() {
		return expectHarvestTime;
	}
	public void setExpectHarvestTime(String expectHarvestTime) {
		this.expectHarvestTime = expectHarvestTime;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getUnitDesc() {
		return unitDesc;
	}
	public void setUnitDesc(String unitDesc) {
		this.unitDesc = unitDesc;
	}
	public String getBuyTime() {
		return buyTime;
	}
	public void setBuyTime(String buyTime) {
		this.buyTime = buyTime;
	}
	public int getFruitPeriod() {
		return fruitPeriod;
	}
	public void setFruitPeriod(int fruitPeriod) {
		this.fruitPeriod = fruitPeriod;
	}
	public String getHarvestUnit() {
		return harvestUnit;
	}
	public void setHarvestUnit(String harvestUnit) {
		this.harvestUnit = harvestUnit;
	}
	public String getHarvestUnitDesc() {
		return harvestUnitDesc;
	}
	public void setHarvestUnitDesc(String harvestUnitDesc) {
		this.harvestUnitDesc = harvestUnitDesc;
	}
	public String getEquityCycle() {
		return equityCycle;
	}
	public void setEquityCycle(String equityCycle) {
		this.equityCycle = equityCycle;
	}
	public String getEndUseTime() {
		return endUseTime;
	}
	public void setEndUseTime(String endUseTime) {
		this.endUseTime = endUseTime;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	public String getOperatorId() {
		return operatorId;
	}
	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}
	public Long getOrderGoodsId() {
		return orderGoodsId;
	}
	public void setOrderGoodsId(Long orderGoodsId) {
		this.orderGoodsId = orderGoodsId;
	}
	public int getBaseId() {
		return baseId;
	}
	public void setBaseId(int baseId) {
		this.baseId = baseId;
	}
	public String getBaseName() {
		return baseName;
	}
	public void setBaseName(String baseName) {
		this.baseName = baseName;
	}
	public int getGoodsSpecTimeId() {
		return goodsSpecTimeId;
	}
	public void setGoodsSpecTimeId(int goodsSpecTimeId) {
		this.goodsSpecTimeId = goodsSpecTimeId;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	
	public String getThumb() {
		return thumb;
	}
	public void setThumb(String thumb) {
		this.thumb = thumb;
	}
	public String getThumbDay() {
		return thumbDay;
	}
	public void setThumbDay(String thumbDay) {
		this.thumbDay = thumbDay;
	}
	public String getThumbNight() {
		return thumbNight;
	}
	public void setThumbNight(String thumbNight) {
		this.thumbNight = thumbNight;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public int getDay() {
		return day;
	}
	public void setDay(int day) {
		this.day = day;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}

	public String getExpectHarvests() {
		return expectHarvests;
	}
	public void setExpectHarvests(String expectHarvests) {
		this.expectHarvests = expectHarvests;
	}
	public String getUserGoodsRightsIds() {
		return userGoodsRightsIds;
	}
	public void setUserGoodsRightsIds(String userGoodsRightsIds) {
		this.userGoodsRightsIds = userGoodsRightsIds;
	}
	public String getExpectHarvestTimes() {
		return expectHarvestTimes;
	}
	public void setExpectHarvestTimes(String expectHarvestTimes) {
		this.expectHarvestTimes = expectHarvestTimes;
	}
	public int getUserGoodsRightsId() {
		return userGoodsRightsId;
	}
	public void setUserGoodsRightsId(int userGoodsRightsId) {
		this.userGoodsRightsId = userGoodsRightsId;
	}
	public List<UserGoodsRightsHarvest> getUserGoodsRightsHarvests() {
		return userGoodsRightsHarvests;
	}
	public void setUserGoodsRightsHarvests(List<UserGoodsRightsHarvest> userGoodsRightsHarvests) {
		this.userGoodsRightsHarvests = userGoodsRightsHarvests;
	}
	public int getSumtotal() {
		return sumtotal;
	}
	public void setSumtotal(int sumtotal) {
		this.sumtotal = sumtotal;
	}
	public String getTreeAge() {
		return treeAge;
	}
	public void setTreeAge(String treeAge) {
		this.treeAge = treeAge;
	}
	
}
